import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index';
import App from './App';
import axios from '@/lib/axios.js';
import $ from 'jquery';
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap'
import 'font-awesome/css/font-awesome.min.css'
require('@/lib/common');
window.jQuery = $;
window.$ = $;
Vue.use(ElementUI);
Vue.config.productionTip = false;
// let socket = new VueSocketIO({
//   connection: '',
//   options: {path: '/xs_menzhen/socket.io'},
// });
// Vue.use(socket);

// 挂载axios请求封装
Vue.prototype.axios = axios;
// axios.defaults.baseURL = 'http://119.45.22.35:8888'
// axios.defaults.baseURL = ''
// axios.defaults.baseURL = '/api'
// axios.defaults.withCredentials = false;

new Vue({
    el: '#app',
    router,

    render: (h) => h(App),
});